package com.lg;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ImportResource;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

/**
 * @author lg
 * @date 2021/5/3
 */
@SpringBootApplication
@ImportResource("classpath:dubbo-consumer.xml")
public class Bootstrap {
    public static void main(String[] args) throws IOException {
        SpringApplication.run(Bootstrap.class, args);

    }
}
